package com.bw.a2208douyindemo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.bw.a2208douyindemo.databinding.ActivityMainBinding
import com.bw.base.mvvm.BaseActivity
import com.bw.base.mvvm.BaseViewModel
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class MainActivity : BaseActivity<ActivityMainBinding,BaseViewModel>() {
    override fun initView() {
        val navHostFragment =
            supportFragmentManager.findFragmentById(R.id.fragmentContainerView) as NavHostFragment
        binding.bnv.setupWithNavController(navHostFragment.navController)
    }

    override fun initData() {

    }

}